package com.cruise.system.userapi.dto;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author cruise
 * @since 2021-03-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="user对象", description="用户信息对象")
public class RegistUserDTO extends Model<RegistUserDTO> implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 手机号
     */
    @ApiModelProperty(required = true, notes = "手机号", example = "13900000000")
    private String phone;


    public RegistUserDTO() {
    }

    public RegistUserDTO(String phone) {
        this.phone = phone;
    }


}

